package oss.ngocminh.fw.data;

import java.util.ArrayList;
import java.util.List;

public class Thread {

	private Long id;
	private String title;
	private String baseUrl;
	private String threadId;
	private int pageCount;
	private List<Post> posts = new ArrayList<Post>();

	public Thread(Long id,String title, String baseUrl, String threadId, int pageCount) {
		super();
		this.id = id;
		this.title = title;
		this.baseUrl = baseUrl;
		this.threadId = threadId;
		this.pageCount = pageCount;
	}

	public Thread() {
	}

	public List<Post> getPosts() {
		return posts;
	}

	public String getTitle() {
		return title;
	}

	public String getBaseUrl() {
		return baseUrl;
	}

	public String getThreadId() {
		return threadId;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setBaseUrl(String baseUrl) {
		this.baseUrl = baseUrl;
	}

	public void setThreadId(String id) {
		this.threadId = id;
	}

	public void setPosts(List<Post> posts) {
		this.posts = posts;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

}
